package com.dao;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.stereotype.Repository;

import com.dao.base.BaseRepository;
import com.dao.entity.RCustCommis;


/**
 * @author geliyang
 *
 */
@Repository
public interface IRCustCommisDao extends BaseRepository<RCustCommis, Long>{
	
	public Page<RCustCommis> findByCommisId(Long commisId, Pageable pageable);
	
	public Page<RCustCommis> findByCustomerId(Long customerId, Pageable pageable);
	
	public RCustCommis findByCustomerIdAndCommisId(Long customerId, Long commisId);
}
